package com.ruoyi.nongjt.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 监管单位管理对象 supervision_unit
 * 
 * @author ruoyi
 * @date 2024-01-01
 */
public class SupervisionUnit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 省份 */
    @Excel(name = "省份")
    private String province;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 区县 */
    @Excel(name = "区县")
    private String district;

    /** 所属单位 */
    @Excel(name = "所属单位")
    private String affiliatedUnit;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String affiliatedDepartment;

    /** 单位logo */
    @Excel(name = "单位logo")
    private String unitLogo;

    /** 配置项（JSON格式存储） */
    @Excel(name = "配置项")
    private String configurationItems;
    
    /** 配置项列表（用于前端显示） */
    @com.fasterxml.jackson.annotation.JsonIgnore
    private java.util.List<String> configurationItemsList;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setAffiliatedUnit(String affiliatedUnit) 
    {
        this.affiliatedUnit = affiliatedUnit;
    }

    public String getAffiliatedUnit() 
    {
        return affiliatedUnit;
    }
    public void setAffiliatedDepartment(String affiliatedDepartment) 
    {
        this.affiliatedDepartment = affiliatedDepartment;
    }

    public String getAffiliatedDepartment() 
    {
        return affiliatedDepartment;
    }
    public void setUnitLogo(String unitLogo) 
    {
        this.unitLogo = unitLogo;
    }

    public String getUnitLogo() 
    {
        return unitLogo;
    }
    public void setConfigurationItems(String configurationItems) 
    {
        this.configurationItems = configurationItems;
    }

    public String getConfigurationItems() 
    {
        return configurationItems;
    }
    
    public java.util.List<String> getConfigurationItemsList() 
    {
        return configurationItemsList;
    }
    
    public void setConfigurationItemsList(java.util.List<String> configurationItemsList) 
    {
        this.configurationItemsList = configurationItemsList;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("province", getProvince())
            .append("city", getCity())
            .append("district", getDistrict())
            .append("affiliatedUnit", getAffiliatedUnit())
            .append("affiliatedDepartment", getAffiliatedDepartment())
            .append("unitLogo", getUnitLogo())
            .append("configurationItems", getConfigurationItems())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
